package com.ruoyi.develop.produceRecordDetail.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 生产记录明细对象 produce_record_detail
 *
 * @author lmm
 * @date 2025-05-16
 */
public class ProduceRecordDetail extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private String id;

    /**
     * 入库id
     */
    private String rukuId;


    /**
     * 入库明细id
     */
    private String rukuDetailId;

    /**
     * 生产单id
     */
    @Excel(name = "生产单id")
    private String produceId;

    /**
     * 生产单号
     */
    @Excel(name = "生产单号")
    private String produceNos;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String status;

    /** * 产品id */
    @Excel(name = "产品id")
    private String goodsId;

    /** * 产品编码 */
    @Excel(name = "产品编码")
    private String goodsCode;

    /**
     * 产品名称
     */
    @Excel(name = "产品名称")
    private String goodsName;

    /**
     * 产品型号
     */
    @Excel(name = "产品型号")
    private String goodsModel;

    /**
     * 产品单位
     */
    @Excel(name = "产品单位")
    private String goodsUnit;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private BigDecimal count;

    /**
     * 操作工
     */
    @Excel(name = "操作工")
    private String douser;

    /**
     * 自制入库明细
     */
    @Excel(name = "自制入库明细")
    private String doremark;

    /** * 排序   */
    private int sort;

    /** * 退回原因   */
    private String refuseReason;

    /**
     * 删除标志
     */
    private String delFlag;

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }

    public String getRukuDetailId() {
        return rukuDetailId;
    }

    public void setRukuDetailId(String rukuDetailId) {
        this.rukuDetailId = rukuDetailId;
    }

    public String getRukuId() {
        return rukuId;
    }

    public void setRukuId(String rukuId) {
        this.rukuId = rukuId;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setProduceId(String produceId) {
        this.produceId = produceId;
    }

    public String getProduceId() {
        return produceId;
    }

    public void setProduceNos(String produceNos) {
        this.produceNos = produceNos;
    }

    public String getProduceNos() {
        return produceNos;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsModel(String goodsModel) {
        this.goodsModel = goodsModel;
    }

    public String getGoodsModel() {
        return goodsModel;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }



    public void setDouser(String douser) {
        this.douser = douser;
    }

    public String getDouser() {
        return douser;
    }

    public BigDecimal getCount() {
        return count;
    }

    public void setCount(BigDecimal count) {
        this.count = count;
    }

    public void setDoremark(String doremark) {
        this.doremark = doremark;
    }

    public String getDoremark() {
        return doremark;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("produceId", getProduceId())
                .append("produceNos", getProduceNos())
                .append("status", getStatus())
                .append("goodsId", getGoodsId())
                .append("goodsCode", getGoodsCode())
                .append("goodsName", getGoodsName())
                .append("goodsModel", getGoodsModel())
                .append("goodsUnit", getGoodsUnit())
                .append("count", getCount())
                .append("douser", getDouser())
                .append("doremark", getDoremark())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .toString();
    }
}
